export enum ReceiverType {
  TO,
  CC,
  BCC
}

export enum PersonGender {
  Male,
  Female,
  Other
}

export function generatePersonGender(genderValue?: number) {
  switch (genderValue) {
    case 0:
      return PersonGender.Male
    case 1:
      return PersonGender.Female
    default:
      return PersonGender.Other
  }
}

export const SendFieldName = "sender"

//没有名字的附件的默认名字
export const UndefinedAttachmentName = "undefined"